package ec.atreasure.com.core.fragments;

//import permissions.dispatcher.RuntimePermissions;

import me.yokeyword.fragmentation.anim.DefaultHorizontalAnimator;
import me.yokeyword.fragmentation.anim.FragmentAnimator;

/**
 * Description :
 * Created by wangjin on 2019/6/22.
 * Job number：
 * Phone ：18301070822
 * Email： 120182051@qq.com
 * Person in charge : 汪渝栋
 * Leader：
 */
//@RuntimePermissions
public abstract class AtreasureFragment extends BaseFragment {

    public <T extends AtreasureFragment> T getParentFragments() {
        return (T) getParentFragment();
    }

    @Override
    public FragmentAnimator onCreateFragmentAnimator() {
        return new DefaultHorizontalAnimator();
    }
}
